package com.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.entity.chuangweiguanliEntity;
import com.entity.view.chuangweiguanliView;
import com.entity.vo.chuangweiguanliVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 床位管理
 *
 * @author
 * @email
 * @date 2025-04-20 11:05:39
 */
public interface chuangweiguanliDao extends BaseMapper<chuangweiguanliEntity> {

	List<chuangweiguanliVO> selectListVO(@Param("ew") Wrapper<chuangweiguanliEntity> wrapper);

	chuangweiguanliVO selectVO(@Param("ew") Wrapper<chuangweiguanliEntity> wrapper);

	List<chuangweiguanliView> selectListView(@Param("ew") Wrapper<chuangweiguanliEntity> wrapper);

	List<chuangweiguanliView> selectListView(Pagination page,@Param("ew") Wrapper<chuangweiguanliEntity> wrapper);

	chuangweiguanliView selectView(@Param("ew") Wrapper<chuangweiguanliEntity> wrapper);

	int deleteByChuangweihao(@Param("chuangweihao") String chuangweihao, @Param("wrapper") Wrapper<chuangweiguanliEntity> wrapper);
}
